package com.cyf.db.bean;

import java.util.Date;

/**
 * 地锁信息
 * Created by cage on 2017/4/7.
 */
public class ParkingLockInfo {

    /** 地锁已被占用 **/
    public static final int LOCK = 1;
    /** 地锁未被占用 **/
    public static final int UNLOCK = 0;
    /** 地锁共享 **/
    public static final int SHARE = 1;
    /** 地锁已被预约 **/
    public static final int BOOKING = 1;

    private Integer id;
    private String name;        // 地锁名称
    private String macAddress;  // 地锁MAC地址
    private Integer status;     // 该条记录是否有效 1有效 0无效（逻辑删除）
    private Integer lockStatus; // 锁的状态 1下降 0升起
    private Integer shareStatus;// 共享状态 1共享 0不共享
    private Integer appUserId;  // app用户id
    private String mobile;      // 手机号
    private Date createdTime;
    private Integer bookingStatus;  // 是否被预约 1 被预约 0未被预约

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(Integer lockStatus) {
        this.lockStatus = lockStatus;
    }

    public Integer getShareStatus() {
        return shareStatus;
    }

    public void setShareStatus(Integer shareStatus) {
        this.shareStatus = shareStatus;
    }

    public Integer getAppUserId() {
        return appUserId;
    }

    public void setAppUserId(Integer appUserId) {
        this.appUserId = appUserId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getBookingStatus() {
        return bookingStatus;
    }

    public void setBookingStatus(Integer bookingStatus) {
        this.bookingStatus = bookingStatus;
    }
}
